package com.seed.schedule;

import org.springframework.context.support.ClassPathXmlApplicationContext;


public class SchedulingDemo {

	public void sendMsg() {
		System.out.println("[Scheduling]定时发生消息...");
	}

	public void receiverMsg() {
		System.out.println("[Scheduling]定时接受消息...");
	}

	public static void main(String[] args) {

		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("config/quartz_timer.xml");

		ctx.getBean("msgTimer");
		

	}

}
